[INFO] cloning repository https://github.com/tikue/rust-ml
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tikue/rust-ml" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftikue%2Frust-ml", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftikue%2Frust-ml'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f29d47333ff00e47d4b6d7c4ed82179221bafab5
[INFO] checking tikue/rust-ml against master#af3c6e733a40e671550e0f0f5aeecaa13772ba56 for pr-74989
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftikue%2Frust-ml" "/workspace/builds/worker-6/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/tikue/rust-ml on toolchain af3c6e733a40e671550e0f0f5aeecaa13772ba56
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/tikue/rust-ml
[INFO] finished tweaking git repo https://github.com/tikue/rust-ml
[INFO] tweaked toml for git repo https://github.com/tikue/rust-ml written to /workspace/builds/worker-6/source/Cargo.toml
[INFO] crate git repo https://github.com/tikue/rust-ml already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: dependency (rand) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions
[INFO] [stderr] warning: unused manifest key: dependencies.rand.rand
[INFO] [stderr] error: the lock file /workspace/builds/worker-6/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: dependency (rand) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions
[INFO] [stderr] warning: unused manifest key: dependencies.rand.rand
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a333f0e88f879122b2af286c3e5ad9636c8cd68c051ee9d9f9c851c1a03447a2
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "a333f0e88f879122b2af286c3e5ad9636c8cd68c051ee9d9f9c851c1a03447a2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a333f0e88f879122b2af286c3e5ad9636c8cd68c051ee9d9f9c851c1a03447a2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a333f0e88f879122b2af286c3e5ad9636c8cd68c051ee9d9f9c851c1a03447a2", kill_on_drop: false }`
[INFO] [stdout] a333f0e88f879122b2af286c3e5ad9636c8cd68c051ee9d9f9c851c1a03447a2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5d16708b683853ef88a2aba5d114274e25251be2b85de3a3c4135581ed5fa4aa
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "5d16708b683853ef88a2aba5d114274e25251be2b85de3a3c4135581ed5fa4aa", kill_on_drop: false }`
[INFO] [stderr] warning: dependency (rand) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions
[INFO] [stderr] warning: unused manifest key: dependencies.rand.rand
[INFO] [stderr]    Compiling getrandom v0.1.15
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking ml v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `std::num::Float`
[INFO] [stdout]  --> src/points/point.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::num::Float;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^ no `Float` in `num`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rand::distributions::IndependentSample`
[INFO] [stdout]  --> src/points/cluster.rs:6:27
[INFO] [stdout]   |
[INFO] [stdout] 6 | use rand::distributions::{IndependentSample, Normal};
[INFO] [stdout]   |                           ^^^^^^^^^^^^^^^^^ no `IndependentSample` in `distributions`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/plots.rs:93:9
[INFO] [stdout]    |
[INFO] [stdout] 93 |         try!(write!(f, "{:>2} ", self.row_number));
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/plots.rs:95:13
[INFO] [stdout]    |
[INFO] [stdout] 95 |             try!(write!(f, "{}  ", self.get_symbol(symbol, column)));
[INFO] [stdout]    |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/plots.rs:164:13
[INFO] [stdout]     |
[INFO] [stdout] 164 |             try!(row.fmt(f));
[INFO] [stdout]     |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]    --> src/plots.rs:131:18
[INFO] [stdout]     |
[INFO] [stdout] 131 |         for _ in (0..num_points) {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::num::Float`
[INFO] [stdout]  --> src/points/point.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::num::Float;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^ no `Float` in `num`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rand::distributions::IndependentSample`
[INFO] [stdout]  --> src/points/cluster.rs:6:27
[INFO] [stdout]   |
[INFO] [stdout] 6 | use rand::distributions::{IndependentSample, Normal};
[INFO] [stdout]   |                           ^^^^^^^^^^^^^^^^^ no `IndependentSample` in `distributions`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/plots.rs:93:9
[INFO] [stdout]    |
[INFO] [stdout] 93 |         try!(write!(f, "{:>2} ", self.row_number));
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/plots.rs:95:13
[INFO] [stdout]    |
[INFO] [stdout] 95 |             try!(write!(f, "{}  ", self.get_symbol(symbol, column)));
[INFO] [stdout]    |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/plots.rs:164:13
[INFO] [stdout]     |
[INFO] [stdout] 164 |             try!(row.fmt(f));
[INFO] [stdout]     |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]    --> src/plots.rs:131:18
[INFO] [stdout]     |
[INFO] [stdout] 131 |         for _ in (0..num_points) {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `rand::distributions::Normal`: moved to rand_distr crate
[INFO] [stdout]  --> src/points/cluster.rs:6:46
[INFO] [stdout]   |
[INFO] [stdout] 6 | use rand::distributions::{IndependentSample, Normal};
[INFO] [stdout]   |                                              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `rand::distributions::Normal`: moved to rand_distr crate
[INFO] [stdout]   --> src/points/cluster.rs:26:24
[INFO] [stdout]    |
[INFO] [stdout] 26 |         let normal_x = Normal::new(centroid.x, std_dev);
[INFO] [stdout]    |                        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `rand::distributions::Normal`: moved to rand_distr crate
[INFO] [stdout]   --> src/points/cluster.rs:27:24
[INFO] [stdout]    |
[INFO] [stdout] 27 |         let normal_y = Normal::new(centroid.y, std_dev);
[INFO] [stdout]    |                        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `rand::distributions::Normal`: moved to rand_distr crate
[INFO] [stdout]  --> src/points/cluster.rs:6:46
[INFO] [stdout]   |
[INFO] [stdout] 6 | use rand::distributions::{IndependentSample, Normal};
[INFO] [stdout]   |                                              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `rand::distributions::Normal`: moved to rand_distr crate
[INFO] [stdout]   --> src/points/cluster.rs:26:24
[INFO] [stdout]    |
[INFO] [stdout] 26 |         let normal_x = Normal::new(centroid.x, std_dev);
[INFO] [stdout]    |                        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `rand::distributions::Normal`: moved to rand_distr crate
[INFO] [stdout]   --> src/points/cluster.rs:27:24
[INFO] [stdout]    |
[INFO] [stdout] 27 |         let normal_y = Normal::new(centroid.y, std_dev);
[INFO] [stdout]    |                        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Point: Clone` is not satisfied
[INFO] [stdout]    --> src/points/point.rs:11:6
[INFO] [stdout]     |
[INFO] [stdout] 11  | impl Copy for Point{}
[INFO] [stdout]     |      ^^^^ the trait `Clone` is not implemented for `Point`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Point: Clone` is not satisfied
[INFO] [stdout]    --> src/points/point.rs:11:6
[INFO] [stdout]     |
[INFO] [stdout] 11  | impl Copy for Point{}
[INFO] [stdout]     |      ^^^^ the trait `Clone` is not implemented for `Point`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Plot: Clone` is not satisfied
[INFO] [stdout]    --> src/plots.rs:18:6
[INFO] [stdout]     |
[INFO] [stdout] 18  | impl Copy for Plot{}
[INFO] [stdout]     |      ^^^^ the trait `Clone` is not implemented for `Plot`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Row: Clone` is not satisfied
[INFO] [stdout]    --> src/plots.rs:24:6
[INFO] [stdout]     |
[INFO] [stdout] 24  | impl Copy for Row{}
[INFO] [stdout]     |      ^^^^ the trait `Clone` is not implemented for `Row`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `PointSymbol: Clone` is not satisfied
[INFO] [stdout]    --> src/plots.rs:30:6
[INFO] [stdout]     |
[INFO] [stdout] 30  | impl Copy for PointSymbol{}
[INFO] [stdout]     |      ^^^^ the trait `Clone` is not implemented for `PointSymbol`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Plot: Clone` is not satisfied
[INFO] [stdout]    --> src/plots.rs:18:6
[INFO] [stdout]     |
[INFO] [stdout] 18  | impl Copy for Plot{}
[INFO] [stdout]     |      ^^^^ the trait `Clone` is not implemented for `Plot`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Row: Clone` is not satisfied
[INFO] [stdout]    --> src/plots.rs:24:6
[INFO] [stdout]     |
[INFO] [stdout] 24  | impl Copy for Row{}
[INFO] [stdout]     |      ^^^^ the trait `Clone` is not implemented for `Row`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `PointSymbol: Clone` is not satisfied
[INFO] [stdout]    --> src/plots.rs:30:6
[INFO] [stdout]     |
[INFO] [stdout] 30  | impl Copy for PointSymbol{}
[INFO] [stdout]     |      ^^^^ the trait `Clone` is not implemented for `PointSymbol`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors; 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors; 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ml`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "5d16708b683853ef88a2aba5d114274e25251be2b85de3a3c4135581ed5fa4aa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5d16708b683853ef88a2aba5d114274e25251be2b85de3a3c4135581ed5fa4aa", kill_on_drop: false }`
[INFO] [stdout] 5d16708b683853ef88a2aba5d114274e25251be2b85de3a3c4135581ed5fa4aa
